
package com.insigma.business.qrcode.soldier.dao;


import com.insigma.business.qrcode.soldier.dto.GovEmployeeRoleBSearcher;
import com.insigma.business.qrcode.soldier.entity.GovEmployeeRoleDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface GovEmployeeRoleDao {

    
    List<GovEmployeeRoleDO> search(final GovEmployeeRoleBSearcher innerSearcher);

    
    GovEmployeeRoleDO get(final String id);

    
    Integer insert(final GovEmployeeRoleDO govEmployeeRoleDO);

    
    Integer update(final GovEmployeeRoleDO govEmployeeRoleDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    
    List<GovEmployeeRoleDO> listByEmployeeId(GovEmployeeRoleBSearcher searcher);

    List<GovEmployeeRoleDO> listByEmployeeId2(String employeeId);

    GovEmployeeRoleDO getByCode(String code);
}
